<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>用户中心_{$web_name}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="用户中心" />
		<meta name="Description" content="用户中心" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
		<meta name="format-detection" content="telephone=no">
		<tc_include file="Public:head" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc/Home/User/css/user.css" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc/Home/User/css/user_common.css" />
		<style type="text/css">
			.user-right .tabmenu {
				margin-bottom: 0;
			}
		</style>
	</head>

	<body>

		<tc_include file="Public:nav" />
		<div class="w990" id="content" style="background: none;">
			<div class="margin-w1210 clearfix">
				<div class="w">
					<div class="breadcrumb clearfix">
						<a href="/" class="index">首页</a> <span class="crumbs-arrow">&gt;</span> <span class="last">用户中心</span></div>
				</div>
				<div class="blank"></div>
				<tc_include file="Public:user_left" />
				<div class="user-right">
					<div class="box">
						<div class="tabmenu">
							<ul class="tab pngFix">
								<li class="first active">我的收藏</li>
							</ul>
						</div>
						<div class="alert alert-success">
							<h4>操作提示：</h4>
							<ul>
								<li>您可查看已收藏的商品,可进行取消收藏操作！</li>
							</ul>
						</div>
						<div class="mar_top">
							<notempty name="rs_shop">
							<table class="ncm-default-table">
								<tbody>
									<tr>
										<td colspan="2" class="pic-model">
											<ul>
												<foreach name="rs_shop" item="v">
												<li class="favorite-pic-list">
													<div class="favorite-goods-thumb">
														<a href="{:U('shop/index',array('id'=>$v['id']))}" target="_blank" title="{$v['title']}"> 
															<img src="{$v['image']}" alt="{$v['title']}" width="200" height="200"> 
														</a>
													</div>
													<div class="favorite-goods-info">
														<dl>
															<dt>  <a href="{:U('shop/index',array('id'=>$v['id']))}" target="_blank" title="{$v['title']}">{$v['title']}</a>  </dt>
															<dd class="price">{$v['price']}</dd>
															<dd class="hover_tan" style="text-align: right;" >
																<i class="del" style="margin-right: 0;"></i>
																<a style="margin-left: 0;line-height: 10px;" href="javascript:if (confirm('您确定要从收藏夹中删除选定的商品吗？')) location.href='{:U('user/del_collect_shop',array('id'=>$v['cid']))}'" class="ncm-btn-mini ncm-btn-mini1">删除</a>
															</dd>
														</dl>
													</div>
												</li>
												</foreach>
											
											</ul>
										</td>
									</tr>
								</tbody>
							</table>
							</notempty>
								<empty name="rs_shop">
											<style>
											/*空记录的展示*/
											.tip-box{ width: 1000px; height: 300px; margin: 50px auto 0; text-align: center;}
											.tip-box .tip-icon{ display: block; max-width: 100%; max-height: 100%; margin: 0 auto;}
											.tip-box .tip-text{ line-height: 20px; padding: 10px; font-size: 14px;}
											.tip-box .tip-text p{ height: 40px; line-height: 40px;}

											</style>
											<div class="tip-box">
												<img src="/themes/wnsc/Home/List/images/noresult.png" class="tip-icon">
												<div class="tip-text">没有符合条件的记录</div>
											</div>
										</empty>
						</div>
						<!--分页-->
									<style type="text/css">
										#pagination a {
											padding: 3px 9px;
											border: 1px solid #988f8f;
											margin-right: 3px;
										}
										
										#pagination span {
											padding: 3px 9px;
											border: 1px solid #988f8f;
											margin-right: 3px;
											background: red;
											color: #fff;
										}
									</style>
									<div class="page">
										<div class="page-wrap fr">
											<div id="pagination" class="pull-right page-box">

												<div id="pagination" class="page page-wrap fr">
													{$page}

												</div>
											</div>
										</div>
									</div>
					</div>
				</div>

			</div>
		</div>
		<div style="clear: both;"></div>

		<tc_include file="Public:footer" />

	</body>

</html>